import { NgModule, Type } from '@angular/core';
import { SharedModule } from '@shared';
import { GreatDirectiveModule } from 'great-ngform';
import { NzDividerModule } from 'ng-zorro-antd/divider';

import { TableDragTableComponent } from './drag-table/drag-table.component';
import { TableDragTable2Component } from './drag-table2/drag-table2.component';
import { TableRoutingModule } from './table-routing.module';
import { TableTableTreeFormComponent } from './table-tree/form/form.component';
import { TableTableTreeComponent } from './table-tree/table-tree.component';

const COMPONENTS: Array<Type<void>> = [
  TableTableTreeComponent,
  TableTableTreeFormComponent,
  TableDragTableComponent,
  TableDragTable2Component
];

@NgModule({
  imports: [SharedModule, TableRoutingModule, GreatDirectiveModule, NzDividerModule],
  declarations: COMPONENTS
})
export class TableModule {}
